package com.hm.hw1221;
/**
 * 增删改查，对汽车进行。汽车有以下属性：
- 价格
- 品牌
- 排量
- 马力
- 颜色
 */
public class Car {
	private double price;
	private String type;
	private double outputs;
	private Integer power;
	private String color;
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public double getOutputs() {
		return outputs;
	}
	public void setOutputs(double outputs) {
		this.outputs = outputs;
	}
	public Integer getPower() {
		return power;
	}
	public void setPower(Integer power) {
		this.power = power;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public Car(double price, String type, double outputs, Integer power, String color) {
		super();
		this.price = price;
		this.type = type;
		this.outputs = outputs;
		this.power = power;
		this.color = color;
	}
	public Car() {
		super();
		// TODO Auto-generated constructor stub
	}
}
